package com.wxzz.elearing.comment.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wxzz.elearing.comment.dto.BannedDto;
import com.wxzz.elearing.comment.dto.BannedListDto;
import com.wxzz.elearing.comment.entity.Banned;
import com.wxzz.elearning.common.vo.JgPageVo;
import com.wxzz.elearning.common.vo.ReturnVO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2021-06-15
 */
public interface IBannedService extends IService<Banned> {

    ReturnVO addCommunityBanned(Banned banned);

    ReturnVO addQueAnsBanned(Banned banned);

    ReturnVO<JgPageVo<List<BannedListDto>>> listCommunityBanned(BannedDto bannedListDto);

    ReturnVO<JgPageVo<List<BannedListDto>>> listQueAnsBanned(BannedDto bannedListDto);

    void exportCommunityExcel(HttpServletResponse response);

    void exportQueAnsExcel(HttpServletResponse response);

    ReturnVO deleteCommunityBanned(Banned banned);

    ReturnVO deleteQueAnsBanned(Banned banned);
}
